package com.example.plugin_native.createFarm

import android.view.View
import com.support.base.obs

class GuidebookModel {
    val step = 1.obs


    fun stepMinus(view: View) {
        if (step.value > 1) {
            step.value = step.value - 1
        }
    }

    fun stepPlus(view: View) {
        if (step.value <= 1) {
            step.value = step.value + 1
        }
    }
}